package org.adorsys.aderp.jpa.impl;

import java.lang.reflect.Method;

import org.springframework.data.jpa.repository.Modifying;
import org.springframework.util.ReflectionUtils.MethodFilter;

public class ModifyingAnnotationFilter implements MethodFilter {

	@Override
	public boolean matches(Method method) {
		return method.getAnnotation(Modifying.class)!=null;
	}

}
